- 
		Home
	
 
	- 
LiteSpeed Cache
 
- 
7.5.0.1
 
- 
Code
 
- 
Classes
 
-  REST 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											35 | 
										
																			
											| Dependencies | 
											6 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											316 | 
										
																			
											| Lines of code | 
											156 | 
										
																			
											| Logical lines of code | 
											59 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											116 | 
										
																			
											| Methods | 
											20 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| is_rest() | 
									A  | 
																	53 | 
													12 | 
													21 | 
							
					
				| rest_api_init() | 
									S  | 
																	42 | 
													3 | 
													66 | 
							
					
				| toggle_crawler_state() | 
									S  | 
																	72 | 
													3 | 
													5 | 
							
					
				| __construct() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| is_from_cloud() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| ping() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| check_ip() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| ip_validate() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| wp_rest_echo() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| cdn_status() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| notify_img() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| notify_ccss() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| notify_ucss() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| notify_vpi() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| err_domains() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| check_img() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| err() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| set_internal_rest_on() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| set_internal_rest_off() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| is_internal_rest() | 
									S  | 
																	82 | 
													1 | 
													3 |